"""
@author: wtf
@file: exts.py
@time: 2024/5/8 16:15
文件存在的意义就是为了解决循环引用的问题!
"""

# flask-sqlalchemy
from flask_sqlalchemy import SQLAlchemy
# 邮箱配置
from flask_mail import Mail
from qiniu import Auth
import config

db = SQLAlchemy()
mail = Mail()

# 构建鉴权对象
q = Auth(config.qiniu_AccessKey, config.qiniu_SecretKey)